# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-actdiag
_pkgname=sphinxcontrib-actdiag
pkgver=2.0.0
pkgrel=0
pkgdesc="Sphinx actdiag extension"
url="https://pypi.python.org/pypi/sphinxcontrib-actdiag"
arch="noarch"
license="BSD-2-Clause"
depends="py3-actdiag py3-sphinx"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-sphinxcontrib-actdiag" # for backwards compatibility
provides="py-sphinxcontrib-actdiag=$pkgver-r$pkgrel" # for backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="8faeb97b6be7c1a3603d34d34331ed4144a0b4a1ea537d8826682252213268a288f180ee0218d1266e199c41eba5e85caabf0a0f734024c358019fe806dd38de  sphinxcontrib-actdiag-2.0.0.tar.gz"
